__author__ = 'Compaq'
class nxb_truyen:
    __ID_TAP_TRUYEN = 0
    __NAM_PHAT_HANH ='1/1/1970'
    __SO_TAI_BAN = 0
    __CHU_BIEN = "NONE"

    def __init__(self,id_tap_truyen = 0 , nam_phat_hanh ='1/1/1970', so_tai_ban = 0, chu_bien ="NONE"):
        self.__ID_TAP_TRUYEN = id_tap_truyen
        self.__NAM_PHAT_HANH = nam_phat_hanh
        self.__SO_TAI_BAN = so_tai_ban
        self.__CHU_BIEN = chu_bien

    def setIDTaptruyen(self,id = 0):
        self.__ID_TAP_TRUYEN = id
    def getIDTaptruyen(self):
        self.__ID_TAP_TRUYEN

    def setNamphathanh(self,year = '1/1/1970'):
        self.__NAM_PHAT_HANH =year
    def getNamphathanh(self):
        return self.__NAM_PHAT_HANH

    def setSotaiban(self,num = 0):
        self.__SO_TAI_BAN = num
    def getSotaiban(self):
        return self.__SO_TAI_BAN

    def setChubien(self,name = "NONE"):
        self.__CHU_BIEN = name
    def getChubien(self):
        return  self.__CHU_BIEN

